package com.bone.order.service;

import java.util.List;
import java.util.Map;

import com.bone.order.dao.OrdOrderAmountApplyDAO;
import com.bone.order.po.OrdOrderAmountApply;
import com.bone.page.Page;

public interface OrderAmountService {

	/**
	 * 取符合查询条件的数据.
	 * @param parameter
	 * @return
	 */
	Page<OrdOrderAmountApply> queryOrderAmountPageByParam(Map<String, Object> parameter,
			int pageSize, int page);
	
	/**
	 * 取符合查询条件的数据根据订单ID.
	 * @param parameter
	 * @return
	 */
	List<OrdOrderAmountApply> queryOrderAmountByOrderId(Long orderId);
	
	/**
	 * 根据主键取相应的订单修改信息.
	 * @param amountApplyId
	 * @return
	 */
	OrdOrderAmountApply queryOrderAmountById(Long amountApplyId);
	
	
	
	OrdOrderAmountApplyDAO getOrderAmountDAO();

	void setOrderAmountDAO(OrdOrderAmountApplyDAO orderAmountDAO);

}